package vac.exception;

import vac.util.IConstant;


public class SysException  extends GenericException {
    private static final long serialVersionUID = 3511627704835961829L;

    public SysException() {
    }
    
    public SysException(String errOwnMsg) {
        this.errMsg = errOwnMsg;
    }

    public SysException(String errOwnMsg, Exception oriEx) {
        this(oriEx);
        this.errMsg = errOwnMsg;
    }
    
    public SysException(String errCode, String errOwnMsg, Exception oriEx){
        this(errOwnMsg, oriEx);
        this.errCode = errCode;
    }

    public SysException(Exception oriEx) {
        super(oriEx);
        this.errOri = oriEx;
    }

    public int getErrLevel() {
        return IConstant.EXCEPTION_LEVEL_SYS;
    }
}